<?php
$title = 'Upload new file for Magazinepublish';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>
<?php 

$form=$this->form;
$form->setAttribute('action',$this->url('magazineupload/upload-pages', array('controller'=>'UploadFile', 'action' => 'add')));
$form->prepare();

echo $this->form()->openTag($form);
echo $this->formRow($form->get('accountname'));

echo $this->formRow($form->get('fileupload'));

echo $this->formSubmit($form->get('submit'));
echo $this->form()->closeTag();
?>